package com.dm.cloud.auth.common.dto;

import com.dm.cloud.core.annotation.Unique;
import com.dm.cloud.core.mode.BaseDTO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.experimental.SuperBuilder;


/**
   * @author hcx
   * @type AuthUserDTO.java
   * @desc AuthUser
   */

@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description ="AuthUser DTO")
public class AuthUserDTO extends BaseDTO {

      /** 用户名 **/
      @Unique
      @Schema(description = "用户名")
      private String userName;
      /** 职位 **/ 
      @Schema(description = "职位")
      private String title;
      /** 政治面貌 **/ 
      @Schema(description = "政治面貌")
      private String politicalStatus;
      /** 邮箱 **/ 
      @Schema(description = "邮箱")
      private String email;
      /** 性别 **/ 
      @Schema(description = "性别")
      private String sex;
      /** 入职时间 **/ 
      @Schema(description = "入职时间")
      private java.util.Date employTime;
      /** 中文名 **/ 
      @Schema(description = "中文名")
      private String chineseName;
      /** 外文名 **/ 
      @Schema(description = "外文名")
      private String englishName;
      /** 密码 **/ 
      @Schema(description = "密码")
      private String password;
      /** 是否冻结 **/ 
      @Schema(description = "是否冻结")
      private Integer freeze;
      /** 安全密级 **/ 
      @Schema(description = "安全密级")
      private String secretLevel;
      /** 联系电话 **/ 
      @Schema(description = "联系电话")
      private String phone;
      /** 备注 **/ 
      @Schema(description = "备注")
      private String comment;
      /** 所属机构ID **/ 
      @Schema(description = "所属机构ID")
      private String orgId;

}
